home *** CD-ROM | disk | FTP | other *** search
- Path: news3.digex.net!usenet
- From: bablank@access.digex.net (Bruce Blank)
- Newsgroups: comp.lang.c++
- Subject: VC 4.0 Link Errors - Can Someone Help Me Resolve, Please
- Date: 27 Mar 1996 01:33:55 GMT
- Organization: Express Access Online Communications, USA
- Message-ID: <4ja5u3$qh8@news3.digex.net>
- NNTP-Posting-Host: dcd00222.slip.digex.net
- Mime-Version: 1.0
- X-Newsreader: WinVN 0.99.2
-
- Hello All,
-
- I am a new Windows 95 user and am using Visual C++ 4.0 for the first
- time. I'm trying to compile and link a program that uses the IShellLink
- interface. I get the following linker errors:
-
- --------------------Configuration: getsgdat - Win32
- Debug--------------------
- Compiling...
- getsgdat.cpp
- Linking...
- getsgdat.obj : error LNK2001: unresolved external symbol
- __imp__CoInitialize@4
- getsgdat.obj : error LNK2001: unresolved external symbol _IID_IPersistFile
- getsgdat.obj : error LNK2001: unresolved external symbol
- __imp__CoCreateInstance@20
- Debug/getsgdat.exe : fatal error LNK1120: 3 unresolved externals
- Error executing link.exe.
- getsgdat.exe - 4 error(s), 0 warning(s)
-
- I am not a "C" or "C++" guru (yet) and am not sure what I need to do to
- resolve these errors. Can anyone please help? Thanks in advance.
-
- Regards... Bruce Blank
-
- ======================================================
- * Bruce Arlan Blank *
- * -------------------------------------------------- *
- * email: bablank@access.digex.net *
- * WWW page: http://www.access.digex.net:80/~bablank/ *
- ======================================================
-
-